//
//  NIBatteryView.h
//  gweAD
//
//  Created by navinfo air on 2016/11/8.
//  Copyright © 2016年 mengy. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, NIBatteryChargeState) {
    NIBatteryChargeStateLow = 0,
    NIBatteryChargeStateMiddle,
    NIBatteryChargeStatePower,
};

@interface NIBatteryView : UIView

@property(nonatomic)NIBatteryChargeState state;
@property(nonatomic)BOOL charging;

- (void)setBatteryPercent:(NSInteger)percent;
- (void)startAnimation;
- (void)stopAnimation;
@end
